﻿using System;

namespace WcfStreamTests
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {

            try
            {
                TestClient.ConfigureService();
                TestClient.RunClient();
            }
            catch (Exception ex)
            {
                var f = Console.ForegroundColor;
                Console.ForegroundColor = ConsoleColor.DarkRed;
                Console.WriteLine(ex);
                Console.ForegroundColor = f;
            }

            Console.ReadLine();

        }
    }
}
